home *** CD-ROM | disk | FTP | other *** search
- 'ANTCALC.BAS
- 'Antenna height calculations
- PRINT "Software by: Bob Giese, N5KXN"
- PRINT " P. O. Box 7681"
- PRINT " Houston, TX 77270"
- '
- 'Calculations based on a sphere with approximately
- 'the same area as the International ellipsoid.
- '
- 'This program uses exact geometric distances not the approximate
- 'formula appearing in ARRL literature. The radio propagation is then
- 'computed from the estimate that the radio horizon will be 1/3 longer.
- '
- R=6378388#*(1#-1#/(3#*297#)) 'This is the radius in meters
- F=R*39.37#/12# 'This is radius in U. S. survey feet
- F2=F*F 'This is F squared
- CLS
- again:
- INPUT"Enter height in feet of first antenna(0 to stop)";H1
- IF H1<=0 THEN STOP
- D1=SQR((H1+F)^2-F2)
- INPUT"Enter height in feet of second antenna";H2
- D2=SQR((H2+F)^2-F2)
- D=(D1+D2)/5280#
- IF D<0 THEN D=0
- PRINT "Geometric line of site distance is ";D;"miles."
- PRINT "Ideal radio line of site propagation is";D*4/3;"miles."
- PRINT
- GOTO again
- END
-
-
-